const testLogin = (req, res, next) => {
    var id = req.query.id
    if (!id) {
        var id = req.body.id
    }
    console.log(id);
    if (!req.session || !id) return res.send({ code: 0 })

    next()
}
module.exports = {
    testLogin
}